import Vue from 'vue'
import Router from 'vue-router'
import Index from '../components/index'
import SaleList from '../components/sale-list'
import TouristsList from '../components/tourists-list'
import Hous from '../components/hous'
import Login from '../components/login'
import Ban from '../components/ban'
// import Hfollow from '../components/Hfollow'
// import Htask from '../components/Htask'
import Ktask from '../components/Ktask'
import Store from '../components/store'
import Htran from '../components/Htran-modal'
import Kfollow from '../components/Kfollow'
import StaffList from '../components/staff-list'
import addstaffmodal from '../components/add-staff-modal'
import Datamodify from '../components/data-modify-modal'
import Post from '../components/post-modal'
import Other from '../components/Other'
import PerSeeting from '../components/per-setting'
import Take from '../components/Take'
import Rule from '../components/Rule'
import Reports from '../components/Reports'
import Table from '../components/table'
import Report from '../components/Report'
// import Area from '../components/Area'
import personal from '../components/personal'

Vue.use(Router);

export default new Router({
  // history: true,
  routes: [
    {
      path: '/index',
      name: 'Index',
      component: Index
    },
    {
      path: '/PerSetting',
      name: 'PerSetting',
      component: PerSeeting
    },
    {
      path: '/Other',
      name: 'Other',
      component: Other
    },
    {
      path: '/sale-list',
      name: 'SaleList',
      component: SaleList
    },
    {
      path: '/post-modal',
      name: 'Post',
      component: Post
    },
    {
      path: '/data-modify-modal',
      name: 'Datamodify',
      component: Datamodify
    },
    {
      path: '/add-staff-modal',
      name: 'addstaffmodal',
      component: addstaffmodal
    },
    {
      path: '/store',
      name: 'Store',
      component: Store
    },
    {
      path: '/staff-list',
      name: 'StaffList',
      component: StaffList
    },
    {
      path: '/Htran-modal',
      name: 'Htran',
      component: Htran
    },
    // {
    //   path: '/Kfollow',
    //   name: 'Kfollow',
    //   component: Kfollow
    // },
    {
      path: '/Ktask',
      name: 'Ktask',
      component: Ktask
    },
    // {
    //   path: '/Htask',
    //   name: 'Htask',
    //   component: Htask
    // },
    // {
    //   path: '/ban/:id',
    //   name: 'Ban',
    //   component: Ban
    // },
    {
      path: '/personal',
      name: 'personal',
      component: personal
    },
    {
      path: '/tourists-list',
      name: 'TouristsList',
      component: TouristsList
    },
    {
      path: '/hous',
      name: 'Hous',
      component: Hous
    },
    {
      path: '/',
      name: 'Login',
      component: Login
    },
    {
      path: '/Take',
      name: 'Take',
      component: Take
    },
    {
      path: '/Rule',
      name: 'Rule',
      component: Rule
    },
    {
      path: '/Reports',
      name: 'Reports',
      component: Reports
    },
    {
      path: '/Table',
      name: 'Table',
      component: Table
    },
    {
      path: '/Report',
      name: 'Report',
      component: Report
    },
    // {
    //   path: '/Area',
    //   name: 'Area',
    //   component: Area
    // },

  ]
})
